
import {
    BasicLayout,
    RouteView,
    PageView,
    UserLayout,
  } from '@/layouts';
  
  export default {
    //
    path: '/OrderManage',
    name: 'OrderManage',
    component: PageView,
    meta: {
      title: '订单管理',
      icon: 'key',
      keepAlive: false,
    },
    redirect: '/orderList',
    children: [
      {
        path: '/orderList',
        name: 'orderList',
        component: resolve => require(['@/views/Order/orderList'], resolve),
        meta: {
          title: '订单列表',
          icon: 'bars',
          keepAlive: false
        },
      },
      {
        path: '/orderDetails',
        name: 'orderDetails',
        hidden:true,
        component: resolve => require(['@/views/Order/orderDetails'], resolve),
        meta: {
          title: '订单详情',
          icon: 'bars',
          keepAlive: false
        },
      },
      {
        path: '/afterSale',
        name: 'afterSale',
        hidden:false,
        component: resolve => require(['@/views/Order/afterSale'], resolve),
        meta: {
          title: '售后/退货',
          icon: 'bars',
          keepAlive: false
        },
      }
    ],
  };
  